<template>
	<div id="secondcomponent">
		<h1>I am another page</h1>
		<ul>
			<li v-for="article in articles">
				{{ article.title }}
			</li>
		</ul>
	</div>
</template>

<script type="text/javascript">
export default {
	data () {
		return {
			author:"微信公众号：wyb-love",
			articles:[]
		}
	},
	mounted: function(){
		this.$http.jsonp('https://api.douban.com/v2/movie/top250?cont=10',{},{
			headers:{

			},
			emulateJSON:true
		}).then(function(response){
			this.articles = response.data.subjects
		},function(response){
			console.log(response)
		});
	}
}
</script>

<style>
</style>
